import os
import sys
sys.path.append(os.path.split(os.path.abspath(os.path.dirname(__file__)))[0])

from fastapi import FastAPI
from app.chat.router import router as chat_route
import uvicorn

app = FastAPI(title="晓羊AI")

app.include_router(chat_route)

if __name__ == "__main__":

    uvicorn.run(app, host="0.0.0.0", port=8000)
